home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 25
/
Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso
/
Aminet
/
util
/
libs
/
ixemul_sdk.lha
/
man
/
cat3
/
abs.0
< prev
next >
Wrap
Text File
|
1998-03-21
|
832b
|
29 lines
ABS(3) UNIX Programmer's Manual ABS(3)
NNAAMMEE
aabbss - integer absolute value function
SSYYNNOOPPSSIISS
##iinncclluuddee <<ssttddlliibb..hh>>
_i_n_t
aabbss(_i_n_t _j)
DDEESSCCRRIIPPTTIIOONN
The aabbss() function computes the absolute value of the integer _j.
RREETTUURRNN VVAALLUUEESS
The aabbss() function returns the absolute value.
SSEEEE AALLSSOO
floor(3), labs(3), cabs(3), hypot(3), math(3)
SSTTAANNDDAARRDDSS
The aabbss() function conforms to ANSI C3.159-1989 (``ANSI C'').
BBUUGGSS
The absolute value of the most negative integer remains negative.
BSD Experimental June 29, 1991 1